<template>
  <div class="right-main">
    <!--<div class="tob-bar">-->
      <!--<el-breadcrumb separator="/">-->
        <!--<el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>-->
      <!--</el-breadcrumb>-->
    <!--</div>-->
    <!-- 无权限显示 -->
    <div class="mainContainer">
      <div class="error-page">
        <img src="../../assets/images/no-power.png" />
        <p>抱歉！您当前无权限访问此页面</p>        
      </div>
    </div>
    <!-- <h2 @click="logout">您的账号已在其他平台登录，请重新登录</h2> -->
  </div>
</template>

<script>
import Http from "../../libs/http.js";
export default {
  name: "noPermission",
  data() {
    return {

    };
  },
  methods: {
    logout() {
        this.$alert('您的账号已在其他平台登录，请重新登录', '提示', {
          confirmButtonText: "确定",
          type: "warning",
          customClass: "custom-modal",
          iconClass: "no-icon",
          center: true,
          callback: action => {
            this.$router.push({ path: "/login" });
          }
        })
      }
    
  }
};
</script>
